# 从键盘输入
input("提示词输入一个数字:" )
# 存入变量
value = input("input:" )
# 打印变量内的值
print(value)

num1 = input("input1: ")
num2 = input("input2: ")
# 查看变量类型 结果为 str
print(num1,type(num1))      
# 转换变量类型 转换成 int
n1 = int(num1)
print(n1,type(n1))
print(num2,type(num2))
n2 = int(num2)
print(n2,type(n2))
# 数字之间加法运算
print(n1+n2)
# 字符之间拼接
print(num1+num2)
print("abc"+"def")
# 数字转换成字符串
price = 500
print("price:" + str(price))
print("price:",price)
pr = str(price)
print("price:" + pr)
